package com.cndw.kungfu.domain;

import org.springframework.beans.BeanUtils;

/**
 * 帮派技能配置
 * 
 * 
 * @author <a href="mailto:whz-work@163.com">汪洪州</a>
 * 
 * @since 1.0 Create on 2011-8-24
 */
public class UnionSkillConfig {

	/**
	 * 编号
	 */
	private int id;

	/**
	 * 类型
	 */
	private int type;

	/**
	 * 名字
	 */
	private String name;

	/**
	 * 技能等级
	 */
	private int level;

	/**
	 * 要求帮派等级
	 */
	private int requiedLevel;

	/**
	 * 技能效果
	 */
	private int effect;

	/**
	 * 需要帮派资源
	 */
	private int resource;

	/**
	 * 需要帮派资金
	 */
	private int asset;

	/**
	 * 需求玩家资源
	 */
	private int useResource;

	/**
	 * 需要玩家资金
	 */
	private int useAsset;

	private String icon;

	private String description;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getRequiedLevel() {
		return requiedLevel;
	}

	public void setRequiedLevel(int requiedLevel) {
		this.requiedLevel = requiedLevel;
	}

	public int getEffect() {
		return effect;
	}

	public void setEffect(int effect) {
		this.effect = effect;
	}

	public int getResource() {
		return resource;
	}

	public void setResource(int resource) {
		this.resource = resource;
	}

	public int getAsset() {
		return asset;
	}

	public void setAsset(int asset) {
		this.asset = asset;
	}

	public int getUseResource() {
		return useResource;
	}

	public void setUseResource(int useResource) {
		this.useResource = useResource;
	}

	public int getUseAsset() {
		return useAsset;
	}

	public void setUseAsset(int useAsset) {
		this.useAsset = useAsset;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public UnionSkillConfig toUnionSkillConfig() {
		UnionSkillConfig vo = new UnionSkillConfig();
		BeanUtils.copyProperties(this, vo);
		return vo;
	}
}
